<%@page contentType="text/html;charset=UTF-8"%>
<%@page pageEncoding="UTF-8"%>
<%@ include file="/pub/includ.jsp"%>
<script type="text/javascript">
	  var save = function(){
			var flag = "failure";
			var options = {
				type: 'POST',
				async: false,
				dataType: 'content-type',
				success: function(msg) {
					flag = msg;
				}
			}
			$('#${jpad.domainName?lower_case}form').ajaxSubmit(options);
			return flag;
		}
</script>
<form id="${jpad.domainName?lower_case}form"  action="<%=path%>/${jpad.moduleName}/${jpad.domainName?lower_case}/save" method="post" target="_self">
<table><tr><td height="2px"></td></tr></table>
<table align="center" border="0" cellpadding="0" cellspacing="1" class="table_nbw" >
	<thead class="th_nbw">
	<tr>
		<td colspan="2" align="center"><strong>${jpad.domainName?lower_case}管理</strong></td>
	</tr>
	</thead>
<#list jpad.propertyList as being>		
<#if (being.isPK != 'y')>	
	<tr >
		<td align="right" width="30%"  style="background-color:f2f9ff;height:25px;">${being.columnName}</td>
		<td align="left" style="background-color:fff">&nbsp;<input class="textfiled_nbw"  type="text" id="${being.columnName}" name="${being.columnName}" value="${r"${"}${jpad.domainName?lower_case}.${being.columnName}}"></td>
	</tr>
</#if>
</#list>
</table>
<table width="100%">
	<tr>
		<td align="center">
			<#list jpad.propertyList as being>	
			<#if (being.isPK == 'y')>	
			<input type=hidden name="${being.columnName}" value="${r"${"}${jpad.domainName?lower_case}.${being.columnName}}" />
			</#if>
			</#list>
		</td>
	</tr>
</table>
</form>

